package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售促销套餐对象 goods_package
 * 
 * @author ruoyi
 * @date 2024-05-13
 */
public class GoodsPackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐主键 */
    private Long packageId;

    /** 细分商品 */
    @Excel(name = "细分商品")
    private Long skuId;

    /** 套餐描述 */
    @Excel(name = "套餐描述")
    private String packageInfo;

    /** 套餐总价 */
    @Excel(name = "套餐总价")
    private Double packageTotal;

    /** 套餐优惠 */
    @Excel(name = "套餐优惠")
    private Double packageDiscount;

    /** 套餐标题 */
    @Excel(name = "套餐标题")
    private String packageTitle;

    /** 套餐代号 */
    @Excel(name = "套餐代号")
    private String packageCode;

    /** 套餐总数量 */
    @Excel(name = "套餐总数量")
    private Integer packageCount;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date packageInTime;

    /** 启用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "启用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date packageBeginDate;

    /** 套餐状态#state#0=下线, 1=使用 */
    @Excel(name = "套餐状态#state#0=下线, 1=使用")
    private Integer packageState;

    @Excel(name = "skuTitle")
    private String skuTitle;

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("GoodsPackage{");
        sb.append("packageId=").append(packageId);
        sb.append(", skuId=").append(skuId);
        sb.append(", packageInfo='").append(packageInfo).append('\'');
        sb.append(", packageTotal=").append(packageTotal);
        sb.append(", packageDiscount=").append(packageDiscount);
        sb.append(", packageTitle='").append(packageTitle).append('\'');
        sb.append(", packageCode='").append(packageCode).append('\'');
        sb.append(", packageCount=").append(packageCount);
        sb.append(", packageInTime=").append(packageInTime);
        sb.append(", packageBeginDate=").append(packageBeginDate);
        sb.append(", packageState=").append(packageState);
        sb.append(", skuTitle='").append(skuTitle).append('\'');
        sb.append('}');
        return sb.toString();
    }

    public String getSkuTitle() {
        return skuTitle;
    }

    public void setSkuTitle(String skuTitle) {
        this.skuTitle = skuTitle;
    }

    public void setPackageId(Long packageId)
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }
    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }
    public void setPackageInfo(String packageInfo) 
    {
        this.packageInfo = packageInfo;
    }

    public String getPackageInfo() 
    {
        return packageInfo;
    }
    public void setPackageTotal(Double packageTotal) 
    {
        this.packageTotal = packageTotal;
    }

    public Double getPackageTotal() 
    {
        return packageTotal;
    }
    public void setPackageDiscount(Double packageDiscount) 
    {
        this.packageDiscount = packageDiscount;
    }

    public Double getPackageDiscount() 
    {
        return packageDiscount;
    }
    public void setPackageTitle(String packageTitle) 
    {
        this.packageTitle = packageTitle;
    }

    public String getPackageTitle() 
    {
        return packageTitle;
    }
    public void setPackageCode(String packageCode) 
    {
        this.packageCode = packageCode;
    }

    public String getPackageCode() 
    {
        return packageCode;
    }
    public void setPackageCount(Integer packageCount) 
    {
        this.packageCount = packageCount;
    }

    public Integer getPackageCount() 
    {
        return packageCount;
    }
    public void setPackageInTime(Date packageInTime) 
    {
        this.packageInTime = packageInTime;
    }

    public Date getPackageInTime() 
    {
        return packageInTime;
    }
    public void setPackageBeginDate(Date packageBeginDate) 
    {
        this.packageBeginDate = packageBeginDate;
    }

    public Date getPackageBeginDate() 
    {
        return packageBeginDate;
    }
    public void setPackageState(Integer packageState) 
    {
        this.packageState = packageState;
    }

    public Integer getPackageState() 
    {
        return packageState;
    }

}
